package org.his.pojo.xinwen;

import java.io.Serializable;
import java.util.Objects;

public class NContent implements Serializable {
    private Integer contentId;
    private Integer newid;
    private String content;

    public Integer getContentId() {
        return contentId;
    }

    public void setContentId(Integer contentId) {
        this.contentId = contentId;
    }

    public Integer getNewid() {
        return newid;
    }

    public void setNewid(Integer newid) {
        this.newid = newid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        NContent nContent = (NContent) o;
        return Objects.equals(contentId, nContent.contentId) &&
                Objects.equals(newid, nContent.newid) &&
                Objects.equals(content, nContent.content);
    }

    @Override
    public int hashCode() {
        return Objects.hash(contentId, newid, content);
    }
}
